<admintpl file="headerEx" />
<title>所有菜单</title>
<!--responsive table-->
<link href="__PUBLIC__/TciocEx/css/table-responsive.css" rel="stylesheet" />
<link href="__PUBLIC__/js/artDialog/skins/default.css" rel="stylesheet" />
</head>

<!-- Placed js at the end of the document so the pages load faster -->
<body class="sticky-header">
<section>
	<!-- main content start-->
	<div class="full-content" >
		<!--body wrapper start-->
		<div class="wrapper">
			<div class="row">
				<div class="col-sm-12">
					<section class="panel">
						<header class="panel-heading custom-tab turquoise-tab">
							<ul class="nav nav-tabs">
								<li><a href="{:U('menu/index')}"><i class="fa fa-list-ul"></i> 后台菜单</a></li>
								<li><a href="{:U('menu/add')}"><i class="fa fa-plus-square"></i>添加菜单</a></li>
								<li class="active"><a href="{:U('menu/lists')}"><i class="fa fa-list-alt"></i>所有菜单</a></li>
							</ul>
						</header>
						<div class="panel-body">
							<section class="panel">
								<div class="panel-body">
									<form class="form-horizontal js-ajax-form form-horizontal " role="form" method="post" action="{:U('Menu/listorders')}">
										<div class="col-lg-8">
											<div class="btn-group m-bot15">
												<a class="btn btn-primary btn-small js-ajax-dialog-btn" href="{:U('menu/restore_menu')}" data-msg="您确定恢复已备份菜单吗？它将覆盖您已经更新的菜单！">恢复菜单</a>
												<a class="btn btn-primary btn-small js-ajax-dialog-btn" href="{:U('menu/backup_menu')}" data-msg="您确定备份菜单吗？">备份菜单</a>
												<a class="btn btn-primary btn-small js-ajax-dialog-btn" href="{:U('menu/export_menu_lang')}" data-msg="您确定生成菜单多语言包吗？请确保应用目录下Lang目录可写！">生成菜单多语言包</a>
												<a class="btn btn-warning btn-small" href="{:U('menu/getactions')}">导入新菜单</a>
											</div>
											<div class="alert alert-warning" style="margin: 0 0 5px 0;">
												请在开发人员指导下进行以上操作！
											</div>
										</div>
									</form>
								</div>
							</section>
							<section id="no-more-tables">
								<table class="table table-bordered table-striped table-hover table-condensed cf">
									<thead class="cf">
									<tr>
										<th width="10%">ID</th>
										<th>菜单英文名称</th>
										<th width="10%" >状态</th>
										<th width="30%" >管理操作</th>
									</tr>
									</thead>
									<tbody>
									<volist name="menus" id="vo" empty="没有找到符合条件的数据！">
										<tr>
											<td>{$vo.id}</td>
											<td>{$vo.name}:{$vo.app}/{$vo.model}/{$vo.action}</td>
											<td>
												<if condition="$vo['status'] eq 1">
													显示
													<else />
													隐藏
												</if>
											</td>
											<td>
												<a href="{:U('menu/edit',array('id'=>$vo['id']))}">修改</a> |
												<a class="js-ajax-delete" href="{:U('menu/delete',array('id'=>$vo['id']))}">删除</a>
											</td>
										</tr>
									</volist>
									</tbody>
									<tfoot>
									<tr>
										<th width="50">ID</th>
										<th>菜单英文名称</th>
										<th width="40">状态</th>
										<th width="80">管理操作</th>
									</tr>
									</tfoot>
								</table>
							</section>

						</div>
					</section>
				</div>
			</div>
		</div>

	</div>
	</div>
	</div>
	<!--body wrapper end-->

	<!--footer section start-->
	<footer>
		<admintpl file="copyright" />
	</footer>
	<!--footer section end-->

	</div>
	<!-- main content end-->
</section>

<script src="__PUBLIC__/TciocEx/js/jquery-1.10.2.min.js"></script>
<script src="__PUBLIC__/js/wind.js"></script>
<script src="__PUBLIC__/js/common.js"></script>
<script src="__PUBLIC__/TciocEx/js/jquery-ui-1.9.2.custom.min.js"></script>
<script src="__PUBLIC__/simpleboot/bootstrap/js/bootstrap.min.js"></script>
<script src="__PUBLIC__/TciocEx/js/jquery-migrate-1.2.1.min.js"></script>
<script src="__PUBLIC__/TciocEx/js/bootstrap.min.js"></script>
<script src="__PUBLIC__/TciocEx/js/modernizr.min.js"></script>
<script src="__PUBLIC__/TciocEx/js/jquery.nicescroll.js"></script>
<script src="__PUBLIC__/js/ajaxForm.js"></script>

<script type="text/javascript" src="__PUBLIC__/TciocEx/js/jquery.validate.min.js"></script>
<script src="__PUBLIC__/TciocEx/js/validation-localization/messages_zh.min.js"></script>
<script src="__PUBLIC__/TciocEx/js/scripts.js"></script>
<script src="__PUBLIC__/TciocEx/js/validation-init.js"></script>

</body>
</html>